package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.FyTypeBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface FyTypeService extends BaseService<FyTypeBean> {

	FyTypeBean getFyTypeBeanById(String id) throws Exception;
	
	void removeFyTypeBeanById(String id) throws Exception;
	
	void removeFyTypeBeanByIds(String ids) throws Exception;
	
	FyTypeBean saveFyTypeBean(FyTypeBean crm) throws Exception;
	
	FyTypeBean updateFyTypeBean(FyTypeBean crm) throws Exception;
	
	Page<FyTypeBean>  findFyTypeBeanByCond(FyTypeBean bean,
			Page<FyTypeBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveFyTypeBeanExt(String sql) throws Exception;

	String findFyTypeBeanExtCreate(String tableName) throws Exception;

	String findFyTypeBeanExtEdit(String tableName, String id)
			throws Exception;

	String findFyTypeBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasFyTypeBeanExtData(String tableName, String id)
			throws Exception;
}